<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
   
    <title>Awesome-pyecharts</title>
            <script type="text/javascript" src="https://assets.pyecharts.org/assets/echarts.min.js"></script>

</head>
<body>
    <div id="1bc0cefc75264025994c4178aa246f0a" class="chart-container" style="width:100%; height:700px;"></div>
    <script>
        var chart_1bc0cefc75264025994c4178aa246f0a = echarts.init(
            document.getElementById('1bc0cefc75264025994c4178aa246f0a'), 'white', {renderer: 'canvas'});
        var option_1bc0cefc75264025994c4178aa246f0a = {
    "animation": true,
    "animationThreshold": 2000,
    "animationDuration": 1000,
    "animationEasing": "cubicOut",
    "animationDelay": 0,
    "animationDurationUpdate": 300,
    "animationEasingUpdate": "cubicOut",
    "animationDelayUpdate": 0,
    "color": [
        "#c23531",
        "#2f4554",
        "#61a0a8",
        "#d48265",
        "#749f83",
        "#ca8622",
        "#bda29a",
        "#6e7074",
        "#546570",
        "#c4ccd3",
        "#f05b72",
        "#ef5b9c",
        "#f47920",
        "#905a3d",
        "#fab27b",
        "#2a5caa",
        "#444693",
        "#726930",
        "#b2d235",
        "#6d8346",
        "#ac6767",
        "#1d953f",
        "#6950a1",
        "#918597"
    ],
    "series": [
        {
            "type": "graph",
            "layout": "force",
            "symbolSize": 10,
            "circular": {
                "rotateLabel": false
            },
            "force": {
                "repulsion": 2500,
                "edgeLength": 50,
                "gravity": 0.2
            },
            "label": {
                "show": true,
                "position": "inside",
                "margin": 8,
                "formatter": function (x) { var strs = x.data.name;   var n='';    var str='centernode';   if(strs.search(str)!=-1) {return  n;}   var strs = x.data.name.split('|')[0];  if(strs.length<=6){                       return strs;                   }else {                       name = strs.slice(0,6) + '...';                        return name;                   }}
            },
            "lineStyle": {
                "width": 1,
                "opacity": 1,
                "curveness": 0,
                "type": "solid"
            },
            "roam": true,
            "draggable": true,
            "focusNodeAdjacency": "true",
            "data": [
                {
                    "name": "\u5c3f\u6025|symptom",
                    "des": "\u5c3f\u6025",
                    "category": 1,
                    "symbolSize": 90
                },
                {
                    "name": "accompany_disease|centernode",
                    "symbolSize": 30
                },
                {
                    "name": "desc|centernode",
                    "symbolSize": 30
                },
                {
                    "name": "\u5c3f\u6025\u662f\u6307\u4e0d\u80fd\u81ea\u63a7\u6392\u5c3f\u6216\u6392\u5c3f\u6709\u6025\u8feb\u611f\uff0c\u5c3f\u610f\u4e00\u6765\uff0c\u5373\u9700\u6392\u5c3f\uff0c\u4e0d\u53ef\u7a0d\u6709\u61c8\u6020;\u6216\u6392\u5c3f\u4e4b\u540e\uff0c\u53c8\u6709\u5c3f\u610f\uff0c\u6025\u9700\u6392\u5c3f\uff0c\u4e0d\u53ca\u65f6\u6392\u5c3f\uff0c\u5219\u4f1a\u5c3f\n\u6e7f\u5185\u88e4\u3002\u4e3b\u8981\u7531\u4e8e\u5c3f\u9053\u3001\u8180\u80f1\u3001\u524d\u5217\u817a\u56e0\u708e\u75c7\u6216\u5f02\u7269\u523a\u6fc0\u6240\u81f4\uff0c\u5e38\u4f34\u6709\u5c3f\u75db\u3002\u8fd9\u4e2a\u75c7\u72b6\u7ea6\u7565\u662f\u5f62\u5bb9\u89e3\u5c3f\u65f6\u4eba\u7684\u80fd\u591f\u5fcd\u8010\u7684\u9650\u5ea6\u8f83\u4f4e\uff0c\u800c\u5c3f\n\u9891\u5f62\u5bb9\u7684\u662f\u5355\u4f4d\u65f6\u95f4\u5185\u89e3\u5c3f\u7684\u6b21\u6570\u8f83\u591a\u3002\u5c3f\u6025\u89c1\u4e8e\u708e\u75c7\u3001\u7ed3\u77f3\u3001\u5f02\u7269\u3001\u80bf\u7624\u3001\u9ad8\u6e29\u73af\u5883\u6240\u81f4\u7684\u5c3f\u6d53\u7f29\u3001\u795e\u7ecf\u539f\u6027\u8180\u80f1\u6216\u7cbe\u795e\u56e0\u7d20\u7b49\u3002\u3000\u6b63\n\u5e38\u6210\u4eba\u767d\u5929\u6392\u5c3f4\uff5e6\u6b21\uff0c\u591c\u95f40\uff5e2\u6b21\uff0c\u6b21\u6570\u660e\u663e\u589e\u591a\u79f0\u5c3f\u9891\u3002\u5c3f\u9891\u662f\u4e00\u79cd\u75c7\u72b6\uff0c\u5e76\u975e\u75be\u75c5\u3002\u7531\u4e8e\u591a\u79cd\u539f\u56e0\u53ef\u5f15\u8d77\u5c0f\u4fbf\u6b21\u6570\u589e\u591a\uff0c\u4f46\u65e0\n\u75bc\u75db\uff0c\u53c8\u79f0\u5c0f\u4fbf\u9891\u6570\u3002\u5c3f\u9891\u7684\u539f\u56e0\u8f83\u591a\uff0c\u5305\u62ec\u795e\u7ecf\u7cbe\u795e\u56e0\u7d20\uff0c\u75c5\u540e\u4f53\u865a\uff0c\u5bc4\u751f\u866b\u75c5\u7b49\u3002\u5bf9\u5c3f\u9891\u60a3\u513f\u9700\u9664\u5916\u5c3f\u8def\u611f\u67d3\u3001\u5916\u9634\u6216\u9634\u830e\u5c40\u90e8\u708e\u75c7\n\u7b49\u3002\u4e2d\u533b\u8ba4\u4e3a\u5c0f\u4fbf\u9891\u6570\u4e3b\u8981\u7531\u4e8e\u5c0f\u513f\u4f53\u8d28\u865a\u5f31\uff0c\u80be\u6c14\u4e0d\u56fa\uff0c\u8180\u80f1\u7ea6\u675f\u65e0\u80fd\uff0c\u5176\u5316\u4e0d\u5ba3\u6240\u81f4\u3002\u6b64\u5916\u8fc7\u4e8e\u75b2\u52b3\uff0c\u813e\u80ba\u4e8c\u810f\u4ff1\u865a\uff0c\u4e0a\u865a\u4e0d\u80fd\u5236\u4e0b\n\uff0c\u571f\u865a\u4e0d\u80fd\u5236\u6c34\uff0c\u8180\u80f1\u6c14\u82b1\u65e0\u529b\uff0c\u800c\u53d1\u751f\u5c0f\u4fbf\u9891\u6570\u3002\u56e0\u6b64\u5c3f\u9891\u591a\u4e3a\u865a\u75c7\uff0c\u9700\u8981\u8c03\u517b\uff0c\u591a\u5403\u5bcc\u542b\u690d\u7269\u6709\u673a\u6d3b\u6027\u78b1\u7684\u98df\u54c1\uff0c\u5c11\u5403\u8089\u7c7b\uff0c\u591a\u5403\u852c\n\u83dc\u3002|desc",
                    "des": "\u5c3f\u6025\u662f\u6307\u4e0d\u80fd\u81ea\u63a7\u6392\u5c3f\u6216\u6392\u5c3f\u6709\u6025\u8feb\u611f\uff0c\u5c3f\u610f\u4e00\u6765\uff0c\u5373\u9700\u6392\u5c3f\uff0c\u4e0d\u53ef\u7a0d\u6709\u61c8\u6020;\u6216\u6392\u5c3f\u4e4b\u540e\uff0c\u53c8\u6709\u5c3f\u610f\uff0c\u6025\u9700\u6392\u5c3f\uff0c\u4e0d\u53ca\u65f6\u6392\u5c3f\uff0c\u5219\u4f1a\u5c3f\n\u6e7f\u5185\u88e4\u3002\u4e3b\u8981\u7531\u4e8e\u5c3f\u9053\u3001\u8180\u80f1\u3001\u524d\u5217\u817a\u56e0\u708e\u75c7\u6216\u5f02\u7269\u523a\u6fc0\u6240\u81f4\uff0c\u5e38\u4f34\u6709\u5c3f\u75db\u3002\u8fd9\u4e2a\u75c7\u72b6\u7ea6\u7565\u662f\u5f62\u5bb9\u89e3\u5c3f\u65f6\u4eba\u7684\u80fd\u591f\u5fcd\u8010\u7684\u9650\u5ea6\u8f83\u4f4e\uff0c\u800c\u5c3f\n\u9891\u5f62\u5bb9\u7684\u662f\u5355\u4f4d\u65f6\u95f4\u5185\u89e3\u5c3f\u7684\u6b21\u6570\u8f83\u591a\u3002\u5c3f\u6025\u89c1\u4e8e\u708e\u75c7\u3001\u7ed3\u77f3\u3001\u5f02\u7269\u3001\u80bf\u7624\u3001\u9ad8\u6e29\u73af\u5883\u6240\u81f4\u7684\u5c3f\u6d53\u7f29\u3001\u795e\u7ecf\u539f\u6027\u8180\u80f1\u6216\u7cbe\u795e\u56e0\u7d20\u7b49\u3002\u3000\u6b63\n\u5e38\u6210\u4eba\u767d\u5929\u6392\u5c3f4\uff5e6\u6b21\uff0c\u591c\u95f40\uff5e2\u6b21\uff0c\u6b21\u6570\u660e\u663e\u589e\u591a\u79f0\u5c3f\u9891\u3002\u5c3f\u9891\u662f\u4e00\u79cd\u75c7\u72b6\uff0c\u5e76\u975e\u75be\u75c5\u3002\u7531\u4e8e\u591a\u79cd\u539f\u56e0\u53ef\u5f15\u8d77\u5c0f\u4fbf\u6b21\u6570\u589e\u591a\uff0c\u4f46\u65e0\n\u75bc\u75db\uff0c\u53c8\u79f0\u5c0f\u4fbf\u9891\u6570\u3002\u5c3f\u9891\u7684\u539f\u56e0\u8f83\u591a\uff0c\u5305\u62ec\u795e\u7ecf\u7cbe\u795e\u56e0\u7d20\uff0c\u75c5\u540e\u4f53\u865a\uff0c\u5bc4\u751f\u866b\u75c5\u7b49\u3002\u5bf9\u5c3f\u9891\u60a3\u513f\u9700\u9664\u5916\u5c3f\u8def\u611f\u67d3\u3001\u5916\u9634\u6216\u9634\u830e\u5c40\u90e8\u708e\u75c7\n\u7b49\u3002\u4e2d\u533b\u8ba4\u4e3a\u5c0f\u4fbf\u9891\u6570\u4e3b\u8981\u7531\u4e8e\u5c0f\u513f\u4f53\u8d28\u865a\u5f31\uff0c\u80be\u6c14\u4e0d\u56fa\uff0c\u8180\u80f1\u7ea6\u675f\u65e0\u80fd\uff0c\u5176\u5316\u4e0d\u5ba3\u6240\u81f4\u3002\u6b64\u5916\u8fc7\u4e8e\u75b2\u52b3\uff0c\u813e\u80ba\u4e8c\u810f\u4ff1\u865a\uff0c\u4e0a\u865a\u4e0d\u80fd\u5236\u4e0b\n\uff0c\u571f\u865a\u4e0d\u80fd\u5236\u6c34\uff0c\u8180\u80f1\u6c14\u82b1\u65e0\u529b\uff0c\u800c\u53d1\u751f\u5c0f\u4fbf\u9891\u6570\u3002\u56e0\u6b64\u5c3f\u9891\u591a\u4e3a\u865a\u75c7\uff0c\u9700\u8981\u8c03\u517b\uff0c\u591a\u5403\u5bcc\u542b\u690d\u7269\u6709\u673a\u6d3b\u6027\u78b1\u7684\u98df\u54c1\uff0c\u5c11\u5403\u8089\u7c7b\uff0c\u591a\u5403\u852c\n\u83dc\u3002",
                    "category": 3,
                    "symbolSize": 70
                },
                {
                    "name": "\u7126\u8651\u6027\u6291\u90c1\u75c7|disease",
                    "des": "\u7126\u8651\u6027\u6291\u90c1\u75c7",
                    "category": 2,
                    "symbolSize": 70
                }
            ],
            "categories": [
                {},
                {
                    "name": "symptom"
                },
                {
                    "name": "disease"
                },
                {
                    "name": "desc"
                }
            ],
            "edgeLabel": {
                "show": true,
                "margin": 8,
                "formatter": function (x) {return x.data.name;}
            },
            "edgeSymbol": [
                "circle",
                "arrow"
            ],
            "edgeSymbolSize": [
                4,
                10
            ],
            "links": [
                {
                    "source": "\u5c3f\u6025|symptom",
                    "target": "accompany_disease|centernode",
                    "name": "accompany_disease"
                },
                {
                    "source": "\u5c3f\u6025|symptom",
                    "target": "desc|centernode",
                    "name": "desc"
                },
                {
                    "source": "desc|centernode",
                    "target": "\u5c3f\u6025\u662f\u6307\u4e0d\u80fd\u81ea\u63a7\u6392\u5c3f\u6216\u6392\u5c3f\u6709\u6025\u8feb\u611f\uff0c\u5c3f\u610f\u4e00\u6765\uff0c\u5373\u9700\u6392\u5c3f\uff0c\u4e0d\u53ef\u7a0d\u6709\u61c8\u6020;\u6216\u6392\u5c3f\u4e4b\u540e\uff0c\u53c8\u6709\u5c3f\u610f\uff0c\u6025\u9700\u6392\u5c3f\uff0c\u4e0d\u53ca\u65f6\u6392\u5c3f\uff0c\u5219\u4f1a\u5c3f\n\u6e7f\u5185\u88e4\u3002\u4e3b\u8981\u7531\u4e8e\u5c3f\u9053\u3001\u8180\u80f1\u3001\u524d\u5217\u817a\u56e0\u708e\u75c7\u6216\u5f02\u7269\u523a\u6fc0\u6240\u81f4\uff0c\u5e38\u4f34\u6709\u5c3f\u75db\u3002\u8fd9\u4e2a\u75c7\u72b6\u7ea6\u7565\u662f\u5f62\u5bb9\u89e3\u5c3f\u65f6\u4eba\u7684\u80fd\u591f\u5fcd\u8010\u7684\u9650\u5ea6\u8f83\u4f4e\uff0c\u800c\u5c3f\n\u9891\u5f62\u5bb9\u7684\u662f\u5355\u4f4d\u65f6\u95f4\u5185\u89e3\u5c3f\u7684\u6b21\u6570\u8f83\u591a\u3002\u5c3f\u6025\u89c1\u4e8e\u708e\u75c7\u3001\u7ed3\u77f3\u3001\u5f02\u7269\u3001\u80bf\u7624\u3001\u9ad8\u6e29\u73af\u5883\u6240\u81f4\u7684\u5c3f\u6d53\u7f29\u3001\u795e\u7ecf\u539f\u6027\u8180\u80f1\u6216\u7cbe\u795e\u56e0\u7d20\u7b49\u3002\u3000\u6b63\n\u5e38\u6210\u4eba\u767d\u5929\u6392\u5c3f4\uff5e6\u6b21\uff0c\u591c\u95f40\uff5e2\u6b21\uff0c\u6b21\u6570\u660e\u663e\u589e\u591a\u79f0\u5c3f\u9891\u3002\u5c3f\u9891\u662f\u4e00\u79cd\u75c7\u72b6\uff0c\u5e76\u975e\u75be\u75c5\u3002\u7531\u4e8e\u591a\u79cd\u539f\u56e0\u53ef\u5f15\u8d77\u5c0f\u4fbf\u6b21\u6570\u589e\u591a\uff0c\u4f46\u65e0\n\u75bc\u75db\uff0c\u53c8\u79f0\u5c0f\u4fbf\u9891\u6570\u3002\u5c3f\u9891\u7684\u539f\u56e0\u8f83\u591a\uff0c\u5305\u62ec\u795e\u7ecf\u7cbe\u795e\u56e0\u7d20\uff0c\u75c5\u540e\u4f53\u865a\uff0c\u5bc4\u751f\u866b\u75c5\u7b49\u3002\u5bf9\u5c3f\u9891\u60a3\u513f\u9700\u9664\u5916\u5c3f\u8def\u611f\u67d3\u3001\u5916\u9634\u6216\u9634\u830e\u5c40\u90e8\u708e\u75c7\n\u7b49\u3002\u4e2d\u533b\u8ba4\u4e3a\u5c0f\u4fbf\u9891\u6570\u4e3b\u8981\u7531\u4e8e\u5c0f\u513f\u4f53\u8d28\u865a\u5f31\uff0c\u80be\u6c14\u4e0d\u56fa\uff0c\u8180\u80f1\u7ea6\u675f\u65e0\u80fd\uff0c\u5176\u5316\u4e0d\u5ba3\u6240\u81f4\u3002\u6b64\u5916\u8fc7\u4e8e\u75b2\u52b3\uff0c\u813e\u80ba\u4e8c\u810f\u4ff1\u865a\uff0c\u4e0a\u865a\u4e0d\u80fd\u5236\u4e0b\n\uff0c\u571f\u865a\u4e0d\u80fd\u5236\u6c34\uff0c\u8180\u80f1\u6c14\u82b1\u65e0\u529b\uff0c\u800c\u53d1\u751f\u5c0f\u4fbf\u9891\u6570\u3002\u56e0\u6b64\u5c3f\u9891\u591a\u4e3a\u865a\u75c7\uff0c\u9700\u8981\u8c03\u517b\uff0c\u591a\u5403\u5bcc\u542b\u690d\u7269\u6709\u673a\u6d3b\u6027\u78b1\u7684\u98df\u54c1\uff0c\u5c11\u5403\u8089\u7c7b\uff0c\u591a\u5403\u852c\n\u83dc\u3002|desc",
                    "name": " "
                },
                {
                    "source": "accompany_disease|centernode",
                    "target": "\u7126\u8651\u6027\u6291\u90c1\u75c7|disease",
                    "name": " "
                }
            ],
            "tooltip": {
                "show": true,
                "trigger": "item",
                "triggerOn": "mousemove|click",
                "axisPointer": {
                    "type": "line"
                },
                "formatter": function (x) { if(x.dataType === 'edge'){return x.data.name;} var strs = x.data.des;  var str = ''; for(var i = 0, s; s = strs[i++];) { if(i==500){str+='...'; break;} str += s; if(!(i % 50)) str += '<br>'; } return str;},
                "textStyle": {
                    "fontSize": 14
                },
                "borderWidth": 0
            }
        }
    ],
    "legend": [
        {
            "data": [
                "",
                "symptom",
                "disease",
                "desc"
            ],
            "selected": {
                "": true,
                "symptom": true,
                "disease": true,
                "desc": true
            },
            "show": true,
            "padding": 5,
            "itemGap": 10,
            "itemWidth": 25,
            "itemHeight": 14
        }
    ],
    "tooltip": {
        "show": true,
        "trigger": "item",
        "triggerOn": "mousemove|click",
        "axisPointer": {
            "type": "line"
        },
        "textStyle": {
            "fontSize": 14
        },
        "borderWidth": 0
    },
    "title": [
        {
            "text": "\u5c3f\u6025\u76f8\u5173\u77e5\u8bc6\u56fe\u8c31",
            "padding": 5,
            "itemGap": 10
        }
    ]
};
        chart_1bc0cefc75264025994c4178aa246f0a.setOption(option_1bc0cefc75264025994c4178aa246f0a);
    </script>
</body>
</html>
